// @ts-ignore
/* eslint-disable */
import { request } from "../../utils/request";

/** 获取任务分页列表 POST */
export async function taskExecutePage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/project/task/execute/page', {
    method: 'POST',
    data: options || {},
  });
}

/** 执行阅读时间 POST */
export async function taskExecuteReadTime(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/readTime', {
    method: 'POST',
    data: options || {},
  });
}

/** 执行阅读点击跳转 POST */
export async function taskExecuteRoute(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/route', {
    method: 'POST',
    data: options || {},
  });
}

/** 执行复制到剪切板 POST */
export async function taskExecuteClipboard(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/clipboard', {
    method: 'POST',
    data: options || {},
  });
}

/** 执行公众号分享 POST */
export async function taskExecuteShare(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/share', {
    method: 'POST',
    data: options || {},
  });
}

/** 执行公众号分享阅读 POST */
export async function taskExecuteShareRead(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/shareRead', {
    method: 'POST',
    data: options || {},
  });
}

/** 获取管理员任务推广列表 POST */
export async function taskProjectPage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/project/page', {
    method: 'POST',
    data: options || {},
  });
}

/** 获取管理员任务推广子任务列表 POST */
export async function taskProjectChildPage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/project/get', {
    method: 'POST',
    data: options || {},
  });
}

/** 获取子任务的统计详情 POST */
export async function subTaskStatistics(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/project/get/statistics', {
    method: 'POST',
    data: options || {},
  });
}

/** 检查一下当前阅读用户是否是系统用户 POST */
export async function taskExecuteIsSysUserRead(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<LoginData.LoginVo>>('/promotion/task/execute/account', {
    method: 'POST',
    data: options || {},
  });
}
